function Comment(body,userId,blogId,time){
	this.id=0;
	this.userId=userId;
	this.blogId=blogId;
	this.body=body;
	this.agree=0;
	this.disagree=0;
	this.time=time;
}

Comment.prototype.getId = function(){
	return this.id;
};

Comment.prototype.setId = function(id){
	this.id=id;
};

Comment.prototype.getUserId = function(){
	return this.userId;
};

Comment.prototype.setUserId = function(userId){
	this.userId=userId;
};

Comment.prototype.getBlogId = function(){
	return this.blogId;
};

Comment.prototype.setBlogId = function(blogId){
	this.blogId=blogId;	
};

Comment.prototype.getBody = function(){
	return this.body;
};

Comment.prototype.setBody = function(body){
	this.body=body;
};

Comment.prototype.getAgree = function(){
	return this.agree;
};

Comment.prototype.setAgree = function(agree){
	this.agree=agree;
};

Comment.prototype.getDisagree = function(){
	return this.agree;
};

Comment.prototype.setDisagree = function(disagree){
	this.disagree=disagree;
};
